<?php

namespace app\xiangji\controller;


use app\xiangji\BaseController;
use app\xiangji\services\LoveDiaryLabelService;
use think\App;

class LoveDiaryLabel extends BaseController
{
    private $labelService;

    public function __construct(LoveDiaryLabelService $labelService)
    {
        $this->labelService = $labelService;
    }

    public function fetch()
    {
        $result = $this->labelService->fetch();
        return $this->success($result);
    }
}
